package com.example.frame;


import com.example.model.TetrisNode;

import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import javax.swing.*;
import javax.swing.Timer;

public class TetrisFrame extends JFrame {
    public TetrisFrame(TetrisNode a) {
//        TetrisNode a = new TetrisNode();
        a.setShowGUI(true);
        addKeyListener(a);
        add(a);
    }
}

